package com.gitee.srurl.oid.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author zxw
 * @date 2023/5/7 18:09
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OidStoreData implements Serializable {

    @Serial
    private static final long serialVersionUID = 5994197219842062142L;

    /**
     * 当前序列号
     */
    private Long storeSequence;

    /**
     * 机器ID
     */
    private Long workerId;

    /**
     * 批量数量
     */
    private Integer batchNum;
}
